package org.afun.oldhand.start.fragment;

import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import org.afun.oldhand.R;
import org.afun.oldhand.base.BaseFragment;

/**
 * A simple {@link Fragment} subclass.
 * Use the {@link StartFragment1#newInstance} factory method to
 * create an instance of this fragment.
 */
public class StartFragment1 extends BaseFragment {

     View rootView;

    public StartFragment1() {

    }

    // TODO: Rename and change types and number of parameters
    public static StartFragment1 newInstance() {
        StartFragment1 fragment = new StartFragment1();
        return fragment;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        if (rootView ==null){
            rootView = inflater.inflate(R.layout.fragment_start1, container, false);
        }
        return rootView;
    }

    @Override
    public View initView() {
        return null;
    }
}